package com.yungu.swift.report.entity;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;


/**
 *
 **/
@Data
public class ReportOrderServiceTotalDay implements Serializable {

    @ApiModelProperty(value = "主键ID")
    private String uuid;

    @ApiModelProperty(value = "应用ID")
    private String appid;

    @ApiModelProperty(value = "所属代理")
    private String agentUuid;

    @ApiModelProperty(value = "所属公司")
    private String companyUuid;

    @ApiModelProperty(value = "记录日期")
    private Date recordDate;

    @ApiModelProperty(value = "服务订单量", example = "0")
    private Integer serviceMun;

    @ApiModelProperty(value = "服务时长（单位：分钟）", example = "0")
    private Integer serviceDuration;

    @ApiModelProperty(value = "服务里程（单位：公里）")
    private BigDecimal serviceDistance;

    @ApiModelProperty(value = "接客时长（单位：秒）", example = "0")
    private Integer receiveDuration;

    @ApiModelProperty(value = "接客里程（单位：公里）")
    private BigDecimal receiveDistance;

    @ApiModelProperty(value = "评分订单量", example = "0")
    private Integer scoreMun;

    @ApiModelProperty(value = "评分", example = "0")
    private Integer score;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;


    //非数据库字段

    @ApiModelProperty(value = "平均服务时长（单位：分钟）", example = "0")
    private Double avgServiceDuration;

    @ApiModelProperty(value = "平均服务里程（单位：公里）")
    private BigDecimal avgServiceDistance;

    @ApiModelProperty(value = "平均接客时长（单位：分）", example = "0")
    private Double avgReceiveDuration;

    @ApiModelProperty(value = "平均接客里程（单位：公里）")
    private BigDecimal avgReceiveDistance;

    @ApiModelProperty(value = "评分", example = "0")
    private Double avgScore;
}
